package com.xhu.water_supply.service;

import com.xhu.water_supply.entity.Worker;
import com.xhu.water_supply.mapper.WorkerMapper;

import java.util.List;

public interface WorkerService {


    public Boolean add(Worker worker);

    public Boolean del(int id);

    public Boolean edit(Worker worker);

    public List<Worker> findAll();

    public Worker findOne(int id);

    public List<Worker> findName(String name);




}
